module ram2portUpdateCrossBar (
    input wire clk,
    input wire rst,
    input wire [31:0] dequeue_head_new_en_in,
    input wire [5:0] dequeue_head_new_port_in [0:31],
    input wire [5:0] dequeue_head_new_priority_in [0:31],
    input wire [15:0] dequeue_head_new_value_in [0:31],
    output reg [15:0] dequeue_head_new_en_out,
    output reg [5:0] dequeue_head_new_priority_out [0:15],
    output reg [15:0] dequeue_head_new_value_out [0:15]
);

    wire [15:0] dequeue_head_new_en_ram1;
    wire [15:0] dequeue_head_new_en_ram2;
    wire [15:0] dequeue_head_new_en_ram3;
    wire [15:0] dequeue_head_new_en_ram4;
    wire [15:0] dequeue_head_new_en_ram5;
    wire [15:0] dequeue_head_new_en_ram6;
    wire [15:0] dequeue_head_new_en_ram7;
    wire [15:0] dequeue_head_new_en_ram8;
    wire [15:0] dequeue_head_new_en_ram9;
    wire [15:0] dequeue_head_new_en_ram10;
    wire [15:0] dequeue_head_new_en_ram11;
    wire [15:0] dequeue_head_new_en_ram12;
    wire [15:0] dequeue_head_new_en_ram13;
    wire [15:0] dequeue_head_new_en_ram14;
    wire [15:0] dequeue_head_new_en_ram15;
    wire [15:0] dequeue_head_new_en_ram16;
    wire [15:0] dequeue_head_new_en_ram17;
    wire [15:0] dequeue_head_new_en_ram18;
    wire [15:0] dequeue_head_new_en_ram19;
    wire [15:0] dequeue_head_new_en_ram20;
    wire [15:0] dequeue_head_new_en_ram21;
    wire [15:0] dequeue_head_new_en_ram22;
    wire [15:0] dequeue_head_new_en_ram23;
    wire [15:0] dequeue_head_new_en_ram24;
    wire [15:0] dequeue_head_new_en_ram25;
    wire [15:0] dequeue_head_new_en_ram26;
    wire [15:0] dequeue_head_new_en_ram27;
    wire [15:0] dequeue_head_new_en_ram28;
    wire [15:0] dequeue_head_new_en_ram29;
    wire [15:0] dequeue_head_new_en_ram30;
    wire [15:0] dequeue_head_new_en_ram31;
    wire [15:0] dequeue_head_new_en_ram32;
    wire [5:0] dequeue_head_new_priority_ram1 [0:15];
    wire [5:0] dequeue_head_new_priority_ram2 [0:15];
    wire [5:0] dequeue_head_new_priority_ram3 [0:15];
    wire [5:0] dequeue_head_new_priority_ram4 [0:15];
    wire [5:0] dequeue_head_new_priority_ram5 [0:15];
    wire [5:0] dequeue_head_new_priority_ram6 [0:15];
    wire [5:0] dequeue_head_new_priority_ram7 [0:15];
    wire [5:0] dequeue_head_new_priority_ram8 [0:15];
    wire [5:0] dequeue_head_new_priority_ram9 [0:15];
    wire [5:0] dequeue_head_new_priority_ram10 [0:15];
    wire [5:0] dequeue_head_new_priority_ram11 [0:15];
    wire [5:0] dequeue_head_new_priority_ram12 [0:15];
    wire [5:0] dequeue_head_new_priority_ram13 [0:15];
    wire [5:0] dequeue_head_new_priority_ram14 [0:15];
    wire [5:0] dequeue_head_new_priority_ram15 [0:15];
    wire [5:0] dequeue_head_new_priority_ram16 [0:15];
    wire [5:0] dequeue_head_new_priority_ram17 [0:15];
    wire [5:0] dequeue_head_new_priority_ram18 [0:15];
    wire [5:0] dequeue_head_new_priority_ram19 [0:15];
    wire [5:0] dequeue_head_new_priority_ram20 [0:15];
    wire [5:0] dequeue_head_new_priority_ram21 [0:15];
    wire [5:0] dequeue_head_new_priority_ram22 [0:15];
    wire [5:0] dequeue_head_new_priority_ram23 [0:15];
    wire [5:0] dequeue_head_new_priority_ram24 [0:15];
    wire [5:0] dequeue_head_new_priority_ram25 [0:15];
    wire [5:0] dequeue_head_new_priority_ram26 [0:15];
    wire [5:0] dequeue_head_new_priority_ram27 [0:15];
    wire [5:0] dequeue_head_new_priority_ram28 [0:15];
    wire [5:0] dequeue_head_new_priority_ram29 [0:15];
    wire [5:0] dequeue_head_new_priority_ram30 [0:15];
    wire [5:0] dequeue_head_new_priority_ram31 [0:15];
    wire [5:0] dequeue_head_new_priority_ram32 [0:15];
    wire [15:0] dequeue_head_new_value_ram1 [0:15];
    wire [15:0] dequeue_head_new_value_ram2 [0:15];
    wire [15:0] dequeue_head_new_value_ram3 [0:15];
    wire [15:0] dequeue_head_new_value_ram4 [0:15];
    wire [15:0] dequeue_head_new_value_ram5 [0:15];
    wire [15:0] dequeue_head_new_value_ram6 [0:15];
    wire [15:0] dequeue_head_new_value_ram7 [0:15];
    wire [15:0] dequeue_head_new_value_ram8 [0:15];
    wire [15:0] dequeue_head_new_value_ram9 [0:15];
    wire [15:0] dequeue_head_new_value_ram10 [0:15];
    wire [15:0] dequeue_head_new_value_ram11 [0:15];
    wire [15:0] dequeue_head_new_value_ram12 [0:15];
    wire [15:0] dequeue_head_new_value_ram13 [0:15];
    wire [15:0] dequeue_head_new_value_ram14 [0:15];
    wire [15:0] dequeue_head_new_value_ram15 [0:15];
    wire [15:0] dequeue_head_new_value_ram16 [0:15];
    wire [15:0] dequeue_head_new_value_ram17 [0:15];
    wire [15:0] dequeue_head_new_value_ram18 [0:15];
    wire [15:0] dequeue_head_new_value_ram19 [0:15];
    wire [15:0] dequeue_head_new_value_ram20 [0:15];
    wire [15:0] dequeue_head_new_value_ram21 [0:15];
    wire [15:0] dequeue_head_new_value_ram22 [0:15];
    wire [15:0] dequeue_head_new_value_ram23 [0:15];
    wire [15:0] dequeue_head_new_value_ram24 [0:15];
    wire [15:0] dequeue_head_new_value_ram25 [0:15];
    wire [15:0] dequeue_head_new_value_ram26 [0:15];
    wire [15:0] dequeue_head_new_value_ram27 [0:15];
    wire [15:0] dequeue_head_new_value_ram28 [0:15];
    wire [15:0] dequeue_head_new_value_ram29 [0:15];
    wire [15:0] dequeue_head_new_value_ram30 [0:15];
    wire [15:0] dequeue_head_new_value_ram31 [0:15];
    wire [15:0] dequeue_head_new_value_ram32 [0:15];


    
    denqueueUpdateDeMuxer16 ram1DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[0]), .dequeue_head_new_port_in(dequeue_head_new_port_in[0]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[0]), .dequeue_head_new_value_in(dequeue_head_new_value_in[0]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram1), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram1), .dequeue_head_new_value_out(dequeue_head_new_value_ram1));

    denqueueUpdateDeMuxer16 ram2DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[1]), .dequeue_head_new_port_in(dequeue_head_new_port_in[1]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[1]), .dequeue_head_new_value_in(dequeue_head_new_value_in[1]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram2), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram2), .dequeue_head_new_value_out(dequeue_head_new_value_ram2));

    denqueueUpdateDeMuxer16 ram3DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[2]), .dequeue_head_new_port_in(dequeue_head_new_port_in[2]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[2]), .dequeue_head_new_value_in(dequeue_head_new_value_in[2]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram3), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram3), .dequeue_head_new_value_out(dequeue_head_new_value_ram3));

    denqueueUpdateDeMuxer16 ram4DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[3]), .dequeue_head_new_port_in(dequeue_head_new_port_in[3]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[3]), .dequeue_head_new_value_in(dequeue_head_new_value_in[3]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram4), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram4), .dequeue_head_new_value_out(dequeue_head_new_value_ram4));

    denqueueUpdateDeMuxer16 ram5DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[4]), .dequeue_head_new_port_in(dequeue_head_new_port_in[4]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[4]), .dequeue_head_new_value_in(dequeue_head_new_value_in[4]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram5), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram5), .dequeue_head_new_value_out(dequeue_head_new_value_ram5));

    denqueueUpdateDeMuxer16 ram6DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[5]), .dequeue_head_new_port_in(dequeue_head_new_port_in[5]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[5]), .dequeue_head_new_value_in(dequeue_head_new_value_in[5]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram6), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram6), .dequeue_head_new_value_out(dequeue_head_new_value_ram6));

    denqueueUpdateDeMuxer16 ram7DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[6]), .dequeue_head_new_port_in(dequeue_head_new_port_in[6]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[6]), .dequeue_head_new_value_in(dequeue_head_new_value_in[6]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram7), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram7), .dequeue_head_new_value_out(dequeue_head_new_value_ram7));

    denqueueUpdateDeMuxer16 ram8DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[7]), .dequeue_head_new_port_in(dequeue_head_new_port_in[7]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[7]), .dequeue_head_new_value_in(dequeue_head_new_value_in[7]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram8), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram8), .dequeue_head_new_value_out(dequeue_head_new_value_ram8));

    denqueueUpdateDeMuxer16 ram9DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[8]), .dequeue_head_new_port_in(dequeue_head_new_port_in[8]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[8]), .dequeue_head_new_value_in(dequeue_head_new_value_in[8]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram9), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram9), .dequeue_head_new_value_out(dequeue_head_new_value_ram9));

    denqueueUpdateDeMuxer16 ram10DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[9]), .dequeue_head_new_port_in(dequeue_head_new_port_in[9]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[9]), .dequeue_head_new_value_in(dequeue_head_new_value_in[9]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram10), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram10), .dequeue_head_new_value_out(dequeue_head_new_value_ram10));

    denqueueUpdateDeMuxer16 ram11DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[10]), .dequeue_head_new_port_in(dequeue_head_new_port_in[10]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[10]), .dequeue_head_new_value_in(dequeue_head_new_value_in[10]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram11), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram11), .dequeue_head_new_value_out(dequeue_head_new_value_ram11));

    denqueueUpdateDeMuxer16 ram12DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[11]), .dequeue_head_new_port_in(dequeue_head_new_port_in[11]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[11]), .dequeue_head_new_value_in(dequeue_head_new_value_in[11]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram12), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram12), .dequeue_head_new_value_out(dequeue_head_new_value_ram12));

    denqueueUpdateDeMuxer16 ram13DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[12]), .dequeue_head_new_port_in(dequeue_head_new_port_in[12]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[12]), .dequeue_head_new_value_in(dequeue_head_new_value_in[12]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram13), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram13), .dequeue_head_new_value_out(dequeue_head_new_value_ram13));

    denqueueUpdateDeMuxer16 ram14DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[13]), .dequeue_head_new_port_in(dequeue_head_new_port_in[13]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[13]), .dequeue_head_new_value_in(dequeue_head_new_value_in[13]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram14), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram14), .dequeue_head_new_value_out(dequeue_head_new_value_ram14));

    denqueueUpdateDeMuxer16 ram15DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[14]), .dequeue_head_new_port_in(dequeue_head_new_port_in[14]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[14]), .dequeue_head_new_value_in(dequeue_head_new_value_in[14]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram15), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram15), .dequeue_head_new_value_out(dequeue_head_new_value_ram15));

    denqueueUpdateDeMuxer16 ram16DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[15]), .dequeue_head_new_port_in(dequeue_head_new_port_in[15]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[15]), .dequeue_head_new_value_in(dequeue_head_new_value_in[15]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram16), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram16), .dequeue_head_new_value_out(dequeue_head_new_value_ram16));

    denqueueUpdateDeMuxer16 ram17DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[16]), .dequeue_head_new_port_in(dequeue_head_new_port_in[16]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[16]), .dequeue_head_new_value_in(dequeue_head_new_value_in[16]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram17), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram17), .dequeue_head_new_value_out(dequeue_head_new_value_ram17));

    denqueueUpdateDeMuxer16 ram18DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[17]), .dequeue_head_new_port_in(dequeue_head_new_port_in[17]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[17]), .dequeue_head_new_value_in(dequeue_head_new_value_in[17]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram18), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram18), .dequeue_head_new_value_out(dequeue_head_new_value_ram18));

    denqueueUpdateDeMuxer16 ram19DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[18]), .dequeue_head_new_port_in(dequeue_head_new_port_in[18]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[18]), .dequeue_head_new_value_in(dequeue_head_new_value_in[18]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram19), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram19), .dequeue_head_new_value_out(dequeue_head_new_value_ram19));

    denqueueUpdateDeMuxer16 ram20DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[19]), .dequeue_head_new_port_in(dequeue_head_new_port_in[19]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[19]), .dequeue_head_new_value_in(dequeue_head_new_value_in[19]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram20), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram20), .dequeue_head_new_value_out(dequeue_head_new_value_ram20));

    denqueueUpdateDeMuxer16 ram21DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[20]), .dequeue_head_new_port_in(dequeue_head_new_port_in[20]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[20]), .dequeue_head_new_value_in(dequeue_head_new_value_in[20]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram21), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram21), .dequeue_head_new_value_out(dequeue_head_new_value_ram21));

    denqueueUpdateDeMuxer16 ram22DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[21]), .dequeue_head_new_port_in(dequeue_head_new_port_in[21]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[21]), .dequeue_head_new_value_in(dequeue_head_new_value_in[21]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram22), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram22), .dequeue_head_new_value_out(dequeue_head_new_value_ram22));

    denqueueUpdateDeMuxer16 ram23DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[22]), .dequeue_head_new_port_in(dequeue_head_new_port_in[22]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[22]), .dequeue_head_new_value_in(dequeue_head_new_value_in[22]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram23), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram23), .dequeue_head_new_value_out(dequeue_head_new_value_ram23));

    denqueueUpdateDeMuxer16 ram24DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[23]), .dequeue_head_new_port_in(dequeue_head_new_port_in[23]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[23]), .dequeue_head_new_value_in(dequeue_head_new_value_in[23]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram24), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram24), .dequeue_head_new_value_out(dequeue_head_new_value_ram24));

    denqueueUpdateDeMuxer16 ram25DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[24]), .dequeue_head_new_port_in(dequeue_head_new_port_in[24]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[24]), .dequeue_head_new_value_in(dequeue_head_new_value_in[24]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram25), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram25), .dequeue_head_new_value_out(dequeue_head_new_value_ram25));

    denqueueUpdateDeMuxer16 ram26DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[25]), .dequeue_head_new_port_in(dequeue_head_new_port_in[25]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[25]), .dequeue_head_new_value_in(dequeue_head_new_value_in[25]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram26), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram26), .dequeue_head_new_value_out(dequeue_head_new_value_ram26));

    denqueueUpdateDeMuxer16 ram27DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[26]), .dequeue_head_new_port_in(dequeue_head_new_port_in[26]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[26]), .dequeue_head_new_value_in(dequeue_head_new_value_in[26]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram27), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram27), .dequeue_head_new_value_out(dequeue_head_new_value_ram27));

    denqueueUpdateDeMuxer16 ram28DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[27]), .dequeue_head_new_port_in(dequeue_head_new_port_in[27]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[27]), .dequeue_head_new_value_in(dequeue_head_new_value_in[27]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram28), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram28), .dequeue_head_new_value_out(dequeue_head_new_value_ram28));

    denqueueUpdateDeMuxer16 ram29DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[28]), .dequeue_head_new_port_in(dequeue_head_new_port_in[28]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[28]), .dequeue_head_new_value_in(dequeue_head_new_value_in[28]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram29), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram29), .dequeue_head_new_value_out(dequeue_head_new_value_ram29));

    denqueueUpdateDeMuxer16 ram30DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[29]), .dequeue_head_new_port_in(dequeue_head_new_port_in[29]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[29]), .dequeue_head_new_value_in(dequeue_head_new_value_in[29]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram30), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram30), .dequeue_head_new_value_out(dequeue_head_new_value_ram30));

    denqueueUpdateDeMuxer16 ram31DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[30]), .dequeue_head_new_port_in(dequeue_head_new_port_in[30]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[30]), .dequeue_head_new_value_in(dequeue_head_new_value_in[30]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram31), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram31), .dequeue_head_new_value_out(dequeue_head_new_value_ram31));

    denqueueUpdateDeMuxer16 ram32DeMux(.clk(clk), .rst(rst), 
                                    .dequeue_head_new_en_in(dequeue_head_new_en_in[31]), .dequeue_head_new_port_in(dequeue_head_new_port_in[31]), .dequeue_head_new_priority_in(dequeue_head_new_priority_in[31]), .dequeue_head_new_value_in(dequeue_head_new_value_in[31]), 
                                    .dequeue_head_new_en_out(dequeue_head_new_en_ram32), .dequeue_head_new_priority_out(dequeue_head_new_priority_ram32), .dequeue_head_new_value_out(dequeue_head_new_value_ram32));

    genvar ucIndex;
    generate
        for (ucIndex=0; ucIndex<16; ucIndex=ucIndex+1) begin : denqueueUpdateMux
            denqueueUpdateMuxer32 mux(.clk(clk), .rst(rst), 
                                .dequeue_head_new_en_1(dequeue_head_new_en_ram1[ucIndex]), .dequeue_head_new_en_2(dequeue_head_new_en_ram2[ucIndex]), .dequeue_head_new_en_3(dequeue_head_new_en_ram3[ucIndex]), .dequeue_head_new_en_4(dequeue_head_new_en_ram4[ucIndex]), .dequeue_head_new_en_5(dequeue_head_new_en_ram5[ucIndex]), .dequeue_head_new_en_6(dequeue_head_new_en_ram6[ucIndex]), .dequeue_head_new_en_7(dequeue_head_new_en_ram7[ucIndex]), .dequeue_head_new_en_8(dequeue_head_new_en_ram8[ucIndex]), .dequeue_head_new_en_9(dequeue_head_new_en_ram9[ucIndex]), .dequeue_head_new_en_10(dequeue_head_new_en_ram10[ucIndex]), .dequeue_head_new_en_11(dequeue_head_new_en_ram11[ucIndex]), .dequeue_head_new_en_12(dequeue_head_new_en_ram12[ucIndex]), .dequeue_head_new_en_13(dequeue_head_new_en_ram13[ucIndex]), .dequeue_head_new_en_14(dequeue_head_new_en_ram14[ucIndex]), .dequeue_head_new_en_15(dequeue_head_new_en_ram15[ucIndex]), .dequeue_head_new_en_16(dequeue_head_new_en_ram16[ucIndex]), .dequeue_head_new_en_17(dequeue_head_new_en_ram17[ucIndex]), .dequeue_head_new_en_18(dequeue_head_new_en_ram18[ucIndex]), .dequeue_head_new_en_19(dequeue_head_new_en_ram19[ucIndex]), .dequeue_head_new_en_20(dequeue_head_new_en_ram20[ucIndex]), .dequeue_head_new_en_21(dequeue_head_new_en_ram21[ucIndex]), .dequeue_head_new_en_22(dequeue_head_new_en_ram22[ucIndex]), .dequeue_head_new_en_23(dequeue_head_new_en_ram23[ucIndex]), .dequeue_head_new_en_24(dequeue_head_new_en_ram24[ucIndex]), .dequeue_head_new_en_25(dequeue_head_new_en_ram25[ucIndex]), .dequeue_head_new_en_26(dequeue_head_new_en_ram26[ucIndex]), .dequeue_head_new_en_27(dequeue_head_new_en_ram27[ucIndex]), .dequeue_head_new_en_28(dequeue_head_new_en_ram28[ucIndex]), .dequeue_head_new_en_29(dequeue_head_new_en_ram29[ucIndex]), .dequeue_head_new_en_30(dequeue_head_new_en_ram30[ucIndex]), .dequeue_head_new_en_31(dequeue_head_new_en_ram31[ucIndex]), .dequeue_head_new_en_32(dequeue_head_new_en_ram32[ucIndex]), 
                                    .dequeue_head_new_priority_1(dequeue_head_new_priority_ram1[ucIndex]), .dequeue_head_new_priority_2(dequeue_head_new_priority_ram2[ucIndex]), .dequeue_head_new_priority_3(dequeue_head_new_priority_ram3[ucIndex]), .dequeue_head_new_priority_4(dequeue_head_new_priority_ram4[ucIndex]), .dequeue_head_new_priority_5(dequeue_head_new_priority_ram5[ucIndex]), .dequeue_head_new_priority_6(dequeue_head_new_priority_ram6[ucIndex]), .dequeue_head_new_priority_7(dequeue_head_new_priority_ram7[ucIndex]), .dequeue_head_new_priority_8(dequeue_head_new_priority_ram8[ucIndex]), .dequeue_head_new_priority_9(dequeue_head_new_priority_ram9[ucIndex]), .dequeue_head_new_priority_10(dequeue_head_new_priority_ram10[ucIndex]), .dequeue_head_new_priority_11(dequeue_head_new_priority_ram11[ucIndex]), .dequeue_head_new_priority_12(dequeue_head_new_priority_ram12[ucIndex]), .dequeue_head_new_priority_13(dequeue_head_new_priority_ram13[ucIndex]), .dequeue_head_new_priority_14(dequeue_head_new_priority_ram14[ucIndex]), .dequeue_head_new_priority_15(dequeue_head_new_priority_ram15[ucIndex]), .dequeue_head_new_priority_16(dequeue_head_new_priority_ram16[ucIndex]), .dequeue_head_new_priority_17(dequeue_head_new_priority_ram17[ucIndex]), .dequeue_head_new_priority_18(dequeue_head_new_priority_ram18[ucIndex]), .dequeue_head_new_priority_19(dequeue_head_new_priority_ram19[ucIndex]), .dequeue_head_new_priority_20(dequeue_head_new_priority_ram20[ucIndex]), .dequeue_head_new_priority_21(dequeue_head_new_priority_ram21[ucIndex]), .dequeue_head_new_priority_22(dequeue_head_new_priority_ram22[ucIndex]), .dequeue_head_new_priority_23(dequeue_head_new_priority_ram23[ucIndex]), .dequeue_head_new_priority_24(dequeue_head_new_priority_ram24[ucIndex]), .dequeue_head_new_priority_25(dequeue_head_new_priority_ram25[ucIndex]), .dequeue_head_new_priority_26(dequeue_head_new_priority_ram26[ucIndex]), .dequeue_head_new_priority_27(dequeue_head_new_priority_ram27[ucIndex]), .dequeue_head_new_priority_28(dequeue_head_new_priority_ram28[ucIndex]), .dequeue_head_new_priority_29(dequeue_head_new_priority_ram29[ucIndex]), .dequeue_head_new_priority_30(dequeue_head_new_priority_ram30[ucIndex]), .dequeue_head_new_priority_31(dequeue_head_new_priority_ram31[ucIndex]), .dequeue_head_new_priority_32(dequeue_head_new_priority_ram32[ucIndex]), 
                                    .dequeue_head_new_value_1(dequeue_head_new_value_ram1[ucIndex]), .dequeue_head_new_value_2(dequeue_head_new_value_ram2[ucIndex]), .dequeue_head_new_value_3(dequeue_head_new_value_ram3[ucIndex]), .dequeue_head_new_value_4(dequeue_head_new_value_ram4[ucIndex]), .dequeue_head_new_value_5(dequeue_head_new_value_ram5[ucIndex]), .dequeue_head_new_value_6(dequeue_head_new_value_ram6[ucIndex]), .dequeue_head_new_value_7(dequeue_head_new_value_ram7[ucIndex]), .dequeue_head_new_value_8(dequeue_head_new_value_ram8[ucIndex]), .dequeue_head_new_value_9(dequeue_head_new_value_ram9[ucIndex]), .dequeue_head_new_value_10(dequeue_head_new_value_ram10[ucIndex]), .dequeue_head_new_value_11(dequeue_head_new_value_ram11[ucIndex]), .dequeue_head_new_value_12(dequeue_head_new_value_ram12[ucIndex]), .dequeue_head_new_value_13(dequeue_head_new_value_ram13[ucIndex]), .dequeue_head_new_value_14(dequeue_head_new_value_ram14[ucIndex]), .dequeue_head_new_value_15(dequeue_head_new_value_ram15[ucIndex]), .dequeue_head_new_value_16(dequeue_head_new_value_ram16[ucIndex]), .dequeue_head_new_value_17(dequeue_head_new_value_ram17[ucIndex]), .dequeue_head_new_value_18(dequeue_head_new_value_ram18[ucIndex]), .dequeue_head_new_value_19(dequeue_head_new_value_ram19[ucIndex]), .dequeue_head_new_value_20(dequeue_head_new_value_ram20[ucIndex]), .dequeue_head_new_value_21(dequeue_head_new_value_ram21[ucIndex]), .dequeue_head_new_value_22(dequeue_head_new_value_ram22[ucIndex]), .dequeue_head_new_value_23(dequeue_head_new_value_ram23[ucIndex]), .dequeue_head_new_value_24(dequeue_head_new_value_ram24[ucIndex]), .dequeue_head_new_value_25(dequeue_head_new_value_ram25[ucIndex]), .dequeue_head_new_value_26(dequeue_head_new_value_ram26[ucIndex]), .dequeue_head_new_value_27(dequeue_head_new_value_ram27[ucIndex]), .dequeue_head_new_value_28(dequeue_head_new_value_ram28[ucIndex]), .dequeue_head_new_value_29(dequeue_head_new_value_ram29[ucIndex]), .dequeue_head_new_value_30(dequeue_head_new_value_ram30[ucIndex]), .dequeue_head_new_value_31(dequeue_head_new_value_ram31[ucIndex]), .dequeue_head_new_value_32(dequeue_head_new_value_ram32[ucIndex]), 
                                    .dequeue_head_new_en(dequeue_head_new_en_out[ucIndex]), .dequeue_head_new_priority(dequeue_head_new_priority_out[ucIndex]), .dequeue_head_new_value(dequeue_head_new_value_out[ucIndex]));
        end
    endgenerate
endmodule